Revision: wmaker--cvs--0--patch-1033
Archive: voins@altlinux.ru--2004-wmaker
Creator: Dan Pascu <dan@windowmaker.org>
Date: Thu Oct 28 19:09:44 MSD 2004
Standard-date: 2004-10-28 15:09:44 GMT
Modified-files: WINGs/ChangeLog WINGs/NEWS
    WINGs/WINGs/WINGs.h WINGs/wappresource.c
    WINGs/wfilepanel.c WINGs/wpanel.c src/dialog.c
New-patches: voins@altlinux.ru--2004-wmaker/wmaker--cvs--0--patch-1033
Summary: Renamed WMGetApplicationIconBlendedPixmap() to
CSCVSID: MAIN.1034
Keywords: cscvs:MAIN-1034

Author: dan
Date: 2001/04/24 03:35:02
Renamed WMGetApplicationIconBlendedPixmap() to
WMCreateApplicationIconBlendedPixmap() to avoid confusion.
This is because this function does generate a new WMPixmap from the
available icon image by combining it with the specified color and you
need to call WMReleasePixmap() on the generated pixmap after you're
done with it.
This is unlike the case of WMGetApplicationIconPixmap() where it just
returns a pointer to the existing application icon pixmap that was set
before and where you don't need to release it after you're done working
with it.
To avoid this confusion about when you need to release and when not,
one is using Get (get existing, no release needed), while the other is
now using Create (generate a new pixmap, release required) in their
name.

Since this change was made to a function that was just added to the API
in the previous commit, no modification is needed to the existing
applications that use WINGs.
